package com.woniuxy.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ResponseResult<T> {
    public static final int SUCCESS = 200;
    public static final int NO_PERMS = 401;
    public static final int NO_LOGIN = 403;
    public static final int SYSTEM_ERROR = 500;

    public static final int AddSaleMoney_ERROR = 600;
    public static final int AddSaleOrder_ERROR = 601;
    public static final int UpdateSaleOrderState_ERROR = 602;
    public static final int SalePack_ERROR = 603;
    private int code;
    private String message;
    private T data;
}